@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
PLAYWAVEFILE
generiq_.wav
@ENDIF

@IF
UNITKILLED
unit=Kukapelt
attacker=Anybody
defender=Anybody
@THEN
PLAYWAVEFILE
pitchou.wav
@ENDIF

@IF
UNITKILLED
unit=Teteola
attacker=Olmecs
defender=Spanish
@THEN
TEXT
Strong Teteola has been captured by Olmecs.
ENDTEXT
CREATEUNIT
unit=Jailed Teteola
owner=Olmecs
veteran=no
homecity=none
locations
19,29
endlocations
PLAYWAVEFILE
AH_TETEO.WAV
@ENDIF

@IF
UNITKILLED
unit=Jailed Teteola
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Teteola has been released from the Olmecs.
ENDTEXT
CREATEUNIT
unit=Teteola
owner=Spanish
veteran=yes
homecity=none
locations
19,29
18,28
17,27
18,26
19,25
endlocations
@ENDIF

@IF
UNITKILLED
unit=Marinche
attacker=Olmecs
defender=Spanish
@THEN
TEXT
Marinche has been captured by the Olmecs, she must be released because she can be helpful for
Spanish, indeed she knows this country very well.
ENDTEXT
CREATEUNIT
unit=Jailed Marinche
owner=Olmecs
veteran=no
homecity=none
locations
18,28
endlocations
@ENDIF

@IF
UNITKILLED
unit=Jailed Marinche
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Marinche has been released from the nasty Olmecs, now she has to resume searching the cities
of gold. 
ENDTEXT
CREATEUNIT
unit=Marinche
owner=Spanish
veteran=yes
homecity=none
locations
19,29
18,28
17,27
18,26
19,25
endlocations
@ENDIF

@IF
UNITKILLED
unit=Fernando
attacker=Olmecs
defender=Spanish
@THEN
TEXT
Fernando has been jailed by the Olmecs, he has to be released very quickly.
ENDTEXT
CREATEUNIT
unit=Jailed Fernando
owner=Olmecs
veteran=no
homecity=AUCUN
locations
17,27
endlocations
@ENDIF

@IF
UNITKILLED
unit=Jailed Fernando
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Fernando has been released from the nasty Olmecs. He will be able to revenge.
ENDTEXT
CREATEUNIT
unit=Fernando
owner=Spanish
veteran=yes
homecity=AUCUN
locations
19,29
18,28
17,27
18,26
19,25
endlocations
@ENDIF

@IF
UNITKILLED
unit=Great Condor
attacker=Friends of Esteban
defender=Olmecs
@THEN
CREATEUNIT
unit=Condor
owner=Friends of Esteban
veteran=yes
homecity=AUCUN
locations
17,79
endlocations
PLAYWAVEFILE
CONDOR.WAV
@ENDIF

@IF
UNITKILLED
unit=Esteban
attacker=Olmecs
defender=Friends of Esteban
@THEN
TEXT
Olmecs have jailed Esteban. He's already tied and will be soon frozen.
He may be killed because Olmecs want his young cells to carry out the survival of their race.
He must be released very quickly.
ENDTEXT
CREATEUNIT
unit=Jailed Esteban
owner=Olmecs
veteran=yes
homecity=AUCUN
locations
19,13
18,14
20,14
19,15
endlocations
PLAYWAVEFILE
TRANSPL.WAV
GIVETECHNOLOGY
receiver=Olmecs
technology=0
@ENDIF

@IF
UNITKILLED
unit=Zia
attacker=Olmecs
defender=Friends of Esteban
@THEN
TEXT
Zia has been jailed by the Olmecs.
They may froze her and then kill her to use her young cells !
She must be rescued very quickly.
ENDTEXT
CREATEUNIT
unit=Jailed Zia
owner=Olmecs
veteran=no
homecity=AUCUN
locations
18,14
20,14
19,13
19,15
endlocations
PLAYWAVEFILE
TRANSPL.WAV
GIVETECHNOLOGY
receiver=Olmecs
technology=1
@ENDIF

@IF
UNITKILLED
unit=Tao
attacker=Olmecs
defender=Friends of Esteban
@THEN
TEXT
Tao has been jailed by the Olmecs.
They may froze him and then kill his to use his young cells !
He must be rescued very quickly.
ENDTEXT
CREATEUNIT
unit=Jailed Tao
owner=Olmecs
veteran=no
homecity=AUCUN
locations
20,14
19,13
18,14
19,15
endlocations
GIVETECHNOLOGY
receiver=Olmecs
technology=2
@ENDIF

@IF
UNITKILLED
unit=Jailed Esteban
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Esteban has been released. He has to flee from this diabolical mountain as quickly as possible.
ENDTEXT
CREATEUNIT
unit=Esteban
owner=Friends of Esteban
veteran=yes
homecity=AUCUN
locations
19,13
18,14
20,14
19,15
20,16
endlocations
PLAYWAVEFILE
SAUVER.WAV
@ENDIF

@IF
UNITKILLED
unit=Jailed Zia
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Zia has been released. Once Esteban and Tao also free, leave quickly this mountain.
ENDTEXT
CREATEUNIT
unit=Zia
owner=Friends of Esteban
veteran=yes
homecity=AUCUN
locations
18,14
20,14
19,13
19,15
20,16
endlocations
@ENDIF

@IF
UNITKILLED
unit=Jailed Tao
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Tao has been released. Once Esteban and Zia also free, leave quickly this mountain.
ENDTEXT
CREATEUNIT
unit=Tao
owner=Friends of Esteban
veteran=yes
homecity=AUCUN
locations
20,14
19,13
18,14
19,15
20,16
endlocations
@ENDIF

@IF
TURN
turn=14
@THEN
CREATEUNIT
unit=Idea
owner=Olmecs
veteran=no
homecity=AUCUN
locations
21,45
20,46
19,45
20,44
endlocations
@ENDIF

@IF
UNITKILLED
unit=Idea
attacker=Friends of Esteban
defender=Olmecs
@THEN
TEXT
Mendoza use European armies tactics. With Maya, Sancho and Pedro's help, he builds two wheeled 
and wooden siege towers which will be very useful to attack the Olmec base.
ENDTEXT
CREATEUNIT
unit=siege tower
owner=Friends of Esteban
veteran=no
homecity=AUCUN
locations
19,43
18,42
19,41
20,42
endlocations
PLAYWAVEFILE
TOURS.WAV
@ENDIF

@IF
UNITKILLED
unit=Idea
attacker=Friends of Esteban
defender=Olmecs
@THEN
CREATEUNIT
unit=siege tower
owner=Friends of Esteban
veteran=no
homecity=AUCUN
locations
20,42
19,41
18,42
19,43
endlocations
@ENDIF

@IF
UNITKILLED
unit=siege tower
attacker=ANYBODY
defender=Friends of Esteban
@THEN
PLAYWAVEFILE
TOUR_DET.WAV
@ENDIF

@IF
UNITKILLED
unit=nothing
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
The Burning Shield is attacked but the mountain collapses ! What's happening ?
A huge thing seems to be getting out the soil !
ENDTEXT
PLAYWAVEFILE
DECLENCH.WAV
JUSTONCE
CHANGETERRAIN
terraintype=10
maprect
19,17,19,17,19,17,19,17
GIVETECHNOLOGY
receiver=Olmecs
technology=92
@ENDIF

@IF
UNITKILLED
unit=nothing
attacker=ANYBODY
defender=Olmecs
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=10
maprect
20,24,21,25,20,26,19,25
@ENDIF

@IF
UNITKILLED
unit=nothing
attacker=ANYBODY
defender=Olmecs
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=0
maprect
17,29,18,30,17,31,16,30
@ENDIF

@IF
UNITKILLED
unit=myena
attacker=Olmecs
defender=Mayas
@THEN
TEXT
Olmecs have captured Myena, they will use her young cells to try to stop their ageing.
It now impossible to save her. Wyncocha swears to revenge his future wife's death.
ENDTEXT
GIVETECHNOLOGY
receiver=Olmecs
technology=3
@ENDIF

@IF
UNITKILLED
unit=Papa Camaillo
attacker=ANYBODY
defender=Mayas
@THEN
TEXT
Papa Camaillo has just died because of his injuries. Before his last breath he had been able to
see again his daughter Zia who he had to abandon to the Spanish a few years ago. He also reveals
the location of the city of gold : it's at the intersection of the diagonals of a square constitued
by the three ruined cities and the Burning Shield. Last, he warns of the danger that represents
the Olmecs if they capture the Great Legacy hidden in the city of gold, the world would really 
be endangered.
ENDTEXT
CREATEUNIT
unit=exploration
owner=Olmecs
veteran=no
homecity=AUCUN
locations
45,49
endlocations
@ENDIF

@IF
TURN
turn=Every
@THEN
MAKEAGGRESSION
who=Mayas
whom=Olmecs
@ENDIF

@IF
TURN
turn=Every
@THEN
MAKEAGGRESSION
who=Olmecs
whom=Mayas
@ENDIF

@IF
UNITKILLED
unit=nothing
attacker=ANYBODY
defender=Keepers
@THEN
TEXT
Some foreigners plunder the City of Gold and get back with much gold.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=5000
@ENDIF

@IF
UNITKILLED
unit=Priest of the city of gold
attacker=ANYBODY
defender=Keepers
@THEN
TEXT
The city of gold's priest has been killed. We learn that in fact he wasn't the priest (that one
died a few years ago) but Esteban's father who was hoping to see his son again while keeping the
city. Esteban isn't aware of that and it's maybe better not to tell his about this...
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Great Legacy
attacker=Olmecs
defender=Keepers
@THEN
TEXT
The Olmecs have captured the Great Legacy, the city of gold's priest fears a handle mistake
from the Olmecs;if we let them do, the unrepairable will happen : the energy cencentrated
in the capsule will melt everything in its way, and a great disaster will happen if it
reaches the center of the Earth !
ENDTEXT
CREATEUNIT
unit=Great Legacy
owner=Olmecs
veteran=no
homecity=Aucun
locations
47,53
48,54
46,54
45,53
44,54
endlocations
PLAYWAVEFILE
RIRE_MTR.WAV
GIVETECHNOLOGY
receiver=Olmecs
technology=12
@ENDIF

@IF
UNITKILLED
unit=Great Legacy
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
The Great Legacy has been destroyed. The Olmecs who had captured it won't be able to use it 
anymore, the world has been saved... and the Olmec people is condemned !
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Gaspar
attacker=ANYBODY
defender=Spanish
@THEN
PLAYWAVEFILE
AH_GASP.WAV
@ENDIF

@IF
UNITKILLED
unit=nothing
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FEU.WAV
@ENDIF

@IF
UNITKILLED
unit=Tao
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
TAO.WAV
@ENDIF

@IF
TURN
turn=5
@THEN
PLAYWAVEFILE
MUS1.WAV
@ENDIF

@IF
TURN
turn=10
@THEN
PLAYWAVEFILE
MUS4.WAV
@ENDIF

@IF
TURN
turn=15
@THEN
PLAYWAVEFILE
MUS3.WAV
@ENDIF

@IF
TURN
turn=20
@THEN
PLAYWAVEFILE
MUS2.WAV
@ENDIF

@IF
TURN
turn=25
@THEN
PLAYWAVEFILE
MUS5.WAV
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
TURN
turn=17
@THEN
TEXT
The Maya people revolts angainst the Olmec who have oppressed them for years.
The other villages of Bachani and Chiawtohoung join Wynacocha to fight the Olmecs.
ENDTEXT
MAKEAGGRESSION
who=Mayas_2
whom=Olmecs
@ENDIF

@IF
TURN
turn=17
@THEN
MAKEAGGRESSION
who=Mayas_3
whom=Olmecs
@ENDIF

@IF
TURN
turn=30
@THEN
PLAYWAVEFILE
MUS1.WAV
@ENDIF

@IF
TURN
turn=35
@THEN
PLAYWAVEFILE
MUS4.WAV
@ENDIF

@IF
TURN
turn=40
@THEN
PLAYWAVEFILE
MUS3.WAV
@ENDIF

@IF
TURN
turn=45
@THEN
PLAYWAVEFILE
MUS2.WAV
@ENDIF

@IF
TURN
turn=50
@THEN
PLAYWAVEFILE
MUS5.WAV
@ENDIF

@IF
UNITKILLED
unit=Treasure
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
A treasure of 200 gold has just been captured by Europeans.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=200
@ENDIF

@IF
UNITKILLED
unit=Lost City
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
An old city in ruin has just been explored by Europeans, objects of a value of 300 gold
were discovered there.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=300
@ENDIF

@IF
UNITKILLED
unit=jungle
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CRICKET.WAV
@ENDIF

@IF
TURN
turn=55
@THEN
PLAYWAVEFILE
MUS1.WAV
@ENDIF

@IF
TURN
turn=60
@THEN
PLAYWAVEFILE
MUS4.WAV
@ENDIF

@IF
TURN
turn=65
@THEN
PLAYWAVEFILE
MUS3.WAV
@ENDIF

@IF
TURN
turn=70
@THEN
PLAYWAVEFILE
MUS2.WAV
@ENDIF

@IF
TURN
turn=75
@THEN
PLAYWAVEFILE
MUS5.WAV
@ENDIF

@IF
UNITKILLED
unit=Sancho
attacker=ANYBODY
defender=Friends of Esteban
@THEN
TEXT
Poor Sancho was killed. He was a faithful ship's boy and its search towards the
gold cities stops here. 
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Pedro
attacker=ANYBODY
defender=Friends of Esteban
@THEN
TEXT
Poor Pedro has just died. He will never be able to reach his dream which was to penetrate in 
the gold cities (and to set out with gold of course !). 
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Mendoza
attacker=ANYBODY
defender=Friends of Esteban
@THEN
TEXT
Mendoza is no more. This expert swordsman will no longer be able to protect the children
any more, nor to return to Spain with the large spoils which it discounted.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Menator
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Mnator, le matre des Olmques est mort. Que deviendra ce peuple sans ce guide qui menait le 
combat pour la survie ? Il tait plus qu'un chef, c'tait presque un Dieu ! 
Mnator, the Master of the Olmecs died. What will become these people without this guide which
carried out the combat for survival ? He was more than one head, he was almost a God!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Wynacocha
attacker=ANYBODY
defender=Mayas
@THEN
TEXT
Wynacocha, the leader of the Mayas, was killed but those went only more angrier and will fight
until the last for the freedom of the Maya. Myena, who should have become his wife, cries
its death. 
ENDTEXT
MAKEAGGRESSION
who=Olmecs
whom=Mayas
@ENDIF

@IF
UNITKILLED
unit=Esteban
attacker=Spanish
defender=Friends of Esteban
@THEN
TEXT
Spanish have killed Esteban. Of course he often blocked them the road through the Cities of Gold, 
but perhaps they would have needed him, the son of the sun, to penetrate there. 
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Tao
attacker=Spanish
defender=Friends of Esteban
@THEN
TEXT
Spanish killed Tao which was the last survivor of Hiva empire.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Zia
attacker=Spanish
defender=Friends of Esteban
@THEN
TEXT
Spanish have finally killed Zia this inca young girl who was to lead them towards the 
Cities of Gold. Pizarro had offered her to the queen of Spain before capturing her again so 
that she deciphers the gold quipu.
ENDTEXT
@ENDIF

@IF
TURN
turn=Every
@THEN
MAKEAGGRESSION
who=Olmecs
whom=Keepers
@ENDIF

@IF
TURN
turn=Every
@THEN
MAKEAGGRESSION
who=Keepers
whom=Olmecs
@ENDIF

@IF
UNITKILLED
unit=Gate
attacker=Friends of Esteban
defender=ANYBODY
@THEN
TEXT
Esteban and Zia put their two medallions in the notches and the gigantic gate of the City of
Gold finally opens : a light invades the room... An immense gilded city appears... The city of
Gold is offered to them... 
ENDTEXT
@ENDIF

@IF
TURN
turn=64
@THEN
GIVETECHNOLOGY
receiver=Olmecs
technology=92
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=92
receiver=Olmecs
@THEN
TEXT
Mnator comes out its secret weapon, a deaf rumbling is made hear. It is an huge flying machine
which bores the mountain to cut through a path towards outside ! The aircraft flies over the
mountain. The Olmec machine has an incredible capacity of destruction : its incandescent ray 
destroys all on its way. 
ENDTEXT
CREATEUNIT
unit=Olmec Machine
owner=Olmecs
veteran=no
homecity=Generateur
locations
33,27
34,28
33,29
32,28
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Condor
attacker=ANYBODY
defender=Friends of Esteban
@THEN
TEXT
The Great Condor has been destroyed, this technological wonder inherited from Hiva empire
would have been very useful to Esteban and his friends. 
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Kalmec
attacker=ANYBODY
defender=Olmecs
@THEN
TEXT
Kalmec, Menator's main advisor, is dead. The Olmec population can't stop decreasing, they
must find quickly young cells and the Great Legacy.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=88
receiver=Olmecs
@THEN
TEXT
The Olmecs have now the required energy and young cells to defrost the bodies. Their population
is going to grow... and their army too !
ENDTEXT
JustOnce
@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
Under the moonlight, a great procession is organized around the burning shield : in fact
the Olmec troops are preparing an attack against the village of the unsubmissive Mayas; 
quickly, the New Sun is encircled ! 
ENDTEXT
@ENDIF

@ENDEVENTS
